package com.xxrl.shop.service;

import com.xxrl.shop.domain.Log;
import com.xxrl.shop.repository.LogRepository;
import org.springframework.stereotype.Service;

/**
 * @author LinuY
 * @date 2020/7/27 20:00
 */
@Service
public class LogService {

    private final LogRepository logRepository;

    public LogService(LogRepository logRepository) {
        this.logRepository = logRepository;
    }

    public void save(Log log) {
        logRepository.save(log);
    }
}
